package com.twu.biblioteca;

public class Book {
    private String bookName;
    private boolean available;

    public Book(String bookName, boolean available) {
        this.bookName = bookName;
        this.available = available;
    }

    public String getBookName() {
        return bookName;
    }

    public boolean isAvailable() {
        return available;
    }

    public void checkout(){
        this.available = false;
    }
}
